import java.awt.*;

/**
 * @author Lei
 * @create 2022-05-22 20:27
 */
public class ViewHistory extends View<ControllerHistory> {
    private HistoryPanel historyPanel;


    public ViewHistory(Library m, ControllerHistory c) {
        super(m, c);
        Container contentPane = getContentPane();
        historyPanel=new HistoryPanel(m);
        contentPane.add(historyPanel);
    }

    @Override
    public void update() {
        repaint();
    }
}
